home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1137 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: news.cis.nctu.edu.tw!usenet
  2. From: terryt@mcs.com (Terry Trippany)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Using Delphi's dll in vc++
  5. Date: 9 Jan 1996 16:24:29 GMT
  6. Organization: STR/Baxter Labs
  7. Message-ID: <4cu4rt$qta@news.cis.nctu.edu.tw>
  8. References: <4ctlol$md5@news.csie.nctu.edu.tw>
  9. NNTP-Posting-Host: @159.198.73.111
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. X-Newsreader: WinVN 0.99.7
  13.  
  14. In article <4ctlol$md5@news.csie.nctu.edu.tw>, tywang@csie.nctu.edu.tw says...
  15. >
  16. >
  17. >        Hi,
  18. >           Can someone help me ??  I have a .dll file, and use 
  19. >        implib.exe to generate a .lib file. Then, I use the .lib
  20. >        in MSVC 2.0 to build my own application, but linker said
  21. >        that .lib is invalid or corrupted... why??? I have tried 
  22. >        several times..... Could someone help me ??
  23. >
  24. >
  25. >                                        Richard Wang 
  26. >
  27.  
  28. Hi,
  29.  
  30.   I don't believe you can use implib for the 32 bit compiler.  You have to 
  31. create a def file export the functions that you know of.  See the thread "Just 
  32. a Simple VC++ 4.0 Question" and look for my RE: 
  33.  
  34.   This will give you an in depth description of how to do this.
  35.  
  36. Good Luck,
  37.  
  38. Terry Trippany
  39. Strategic Technology Resources
  40. Chicago, IL
  41.  
  42.  
  43.